//
//  AdverticePageModel.m
//  carcareIOS
//
//  Created by wr on 15/12/3.
//  Copyright © 2015年 baozun. All rights reserved.
//

#import "AdverticePageModel.h"
#import "CalendarMgr.h"
#import "NetDealMgr.h"
#import "AIUserInfo.h"
#import "WebViewHandle.h"

@implementation AdverticePageModel

-(void)setUrl:(NSString *)url{
    _url = url;
    self.h5URL = [WebViewHandle url:url addParams:@{@"icz_uid" : @(USERINFO.userID), @"icz_key" : USERINFO.iczkey}];
}

- (void)setCdt:(NSString *)cdt
{
    _cdt = cdt;
    NSDate *date = [CALENDARMGR dateWithStr:cdt format:@"yyyy-MM-dd HH:mm:ss"];
    self.outLookCdt = [CALENDARMGR dateStrWithDate:date format:@"MM月dd日"];
}

@end
